{* Extend our master template *}
{extends file="master.tpl"}

{* This block is defined in the master.php template *}
{block name=title}{$title}{/block}
{block name=keywords append} {$keywords}{/block}
{block name=description}{$description}{/block}
{block name=content}
<div id="main">
  	<div class="pageContent">
 	  <div class="navCrumb">
  	  <ul>
      	<li class="home"><a href="index-2.html"><img src="{'ico-home.png'|assets_img}" /></a></li>
        <li><a href="index-2.html">Trang chủ</a></li>            
        <li class="active last">Liên hệ</li>
      </ul>
    </div>
    <div id="contact">
      <h1>{$title}</h1>
      <div class="hl-contact"><img src="{'hl-contact.jpg'|assets_img}" /></div>
      <div class="col-left">
        {$detail['content']}
      </div>
      <div class="col-right">
        <h3>{'contact_us'|trans}</h3>
        <form name="contactform" id="contactform" method="post" action="">
          <div class="formContact">
            <div class="submitOk">
              {if $errors}
                <ul>
                {foreach from=$errors item=err}
                  <li>{$err}</li>
                {/foreach}
                </ul>
              {/if}
            </div>
            <ul>
            	<li><input name="subject" type="text" placeholder="{'subject'|trans}" required/></li>
            	<li><input name="fullname" type="text" placeholder="{'fullname'|trans}" required/></li>
            	<li><input name="phone" type="text" class="box" placeholder="{'phone'|trans}" required/></li>
            	<li><input name="email" type="text" class="box last" placeholder="{'email'|trans}" required/></li>
            	<li><textarea name="message" rows="6" placeholder="{'message'|trans}" required></textarea></li>
            </ul>
          </div>
          <div class="btn-contact"><input type="submit" class="btn send" value="{'send'|trans}">
            <a href="javascript:;" onClick="resetForm('contactform');" class="btn">{'reset'|trans}</a></div>
      </form>
    </div>
  </div>
</div>
{/block}